package com.hanliy.service.impl;

import com.hanliy.dao.AdminPermissionMapper;
import com.hanliy.pojo.AdminPermissionEntity;
import com.hanliy.service.AdminPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author hanyulin
 * @apiNote
 * @date 2021/11/9 17:55
 */
@Service
public class AdminPermissionServiceImpl implements AdminPermissionService {

    @Autowired
    private AdminPermissionMapper adminPermissionMapper;

    @Override
    public AdminPermissionEntity queryPermissionByAdminId(Integer adminId) {
        return adminPermissionMapper.queryPermissionByAdminId(adminId);
    }
}
